This version is an .mde demo file for your approval. If you approve, and once payment is received, we'll send you the full version.

The Readme.txt file has instructions for the full .mdb version of KeyedAccess. It might seem a little complicated, but the basic idea is to choose a large prime number (called a "Lock Prime Number") that is used to set a "Lock" which can be opened by certain 16 character Reg ID/Product Keys.

KeyedAccess allows for multiple "Locks", so you can have one set of Reg ID/Product Keys that unlock ALL versions of your software, another set that just unlocks one specific version, and KeyedAccess can validate any of them.

The Lock Prime Numbers are created in the basKeyedAccess module which you won't have access to in this .mde demo version, so we've created a test Lock Prime Number for you called "MY_APPLICATION_MASTER_LOCK_PRIME_NUMBER" and we've used it to set a "Lock" in the basKeyedAccess module.

OK, here's how you can test it:

**************
*** Step 1 ***
**************
Open the downloaded zip file.

This file is named "ka.zip"

**************
*** Step 2 ***
**************
Run the KeyedAccess install program.

Double-click the "Setup.exe" file (you can do this from the WinZip window) and follow the on-screen instructions to install Drag-N-Dropper on your computer.

**************
*** Step 3 ***
**************
Generate some valid Reg ID/Product Keys.

Open the KeyedAccess Demo for your version of Access by clicking Start > KeyedAccess for MS Access > KeyedAccess Demo for Access ####.

Click the "Generate Reg Id/Product Keys..." button to generate keys.

You can edit the subroutine "Generate" to change the number of Reg ID/Product Keys generated, or to change your Lock Prime Number for a different application or version.

You should see valid Reg ID/Product Keys poping up in the Debug window. Save these for later.

**************
*** Step 4 ***
**************
Test the registration code.

Click the "Test registration procedure" button. You should see a registration screen pop up. Try entering an invalid Reg ID/Product Key. Try clicking cancel, then run the code again.

You should see that the registration screen keeps poping up.

Now enter a valid Reg ID/Product Key that you generated in Step 3. It should say "Thanks for registering". If you try to run the code again, the Registation screen won't pop up.

**************
*** Step 5 ***
**************
(optional) Clean up.

The KeyedAccess module updated the Windows registry with the valid Reg ID/Product Key. You can remove this key and test the code again if you wish. Click Start > Run and enter "regedit". Navigate to the key "HKEY_Local_Machine\Software\PetersSoftware\My Application Name", then delete the key "My Application Name", or the value named "Product Key"

**************
*** Step 6 ***
**************
Try it out with your application, if you wish,

Copy the code in the Test_Registration module into your application (a good place for it is in your startup form OnOpen event procedure) and add a reference from your application to ka####.mde in the folder you installed KeyedAccess to.



That's it!



 